package apartado2;

import aima.core.search.framework.GoalTest;


public class OchoPuzzleGoalTest implements GoalTest {
	OchoPuzzleTablero goal = new OchoPuzzleTablero(new int[] { 0, 1, 2, 3, 4, 5, 6, 7, 8 });

	public boolean isGoalState(Object estado) {
		OchoPuzzleTablero tablero = (OchoPuzzleTablero) estado;
		return tablero.equals(goal);
	}

}
